// layerConfig.js
export const layerConfig = [
    {
        id: 'img',
        urlTemplate: "http://t{s}.tianditu.gov.cn/img_w/wmts?" +
            "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
            "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}" +
            "&tk=d26d5a61585000093f0d64032de7053a",
        subdomains: ['1', '2', '3', '4', '5'],
        cssFilter: 'brightness(20%) saturate(100%) invert(18%) sepia(51%) saturate(277%) hue-rotate(112deg) brightness(96%) contrast(92%)'
    },
    {
        id: 'yy',
        urlTemplate: "https://img.net/access/rest/services/MosaicMap_2019_05M/Transfer?token=HB%5CHRXJWSJUG&x-gistack-token=eyJraWQiOiJrMSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJhZG1pbkBnaXN1bmkuY29tIiwiYXVkIjoidXVtcyIsImV4cCI6MTcyMTk3OTg5NiwianRpIjoicS0teHZXckY0eXlROFVRXzdGWlJ6USIsImlhdCI6MTcyMTM3NTA5NiwibmJmIjoxNzIxMzc0Nzk2LCJzdWIiOiJqdWR5X3FpYW5nIiwiaWQiOiJmZjgwODA4MTg2MGQ0ZmFlMDE4NzdlYzRiMzVlN2U1YSIsIm5hbWUiOiJqdWR5X3FpYW5nIiwidHlwZSI6IjAiLCJjbGllbnRpZCI6bnVsbCwiZnJvbSI6InV1bXMiLCJleHBpcmVzIjoiMTcyMTk3OTg5NjM4NyIsInJvbGVzIjpbXX0.ipdZnJO58W1uGP0b9XNQDZFcd_AHS43FCIxOECSKXndbkoC4hSPAChtZ7tCaFh-VHUOVQrB01MPuxPXWBaatGdzzqJXlnai3CZyFTMvdqkfpJIRtqgFuAnIbnQcnvCkPddtS6goQ2yUzVotklnrHE-5PzU9Q5jdLO3TDMOHEVTd7R4n0w2QEM6e3SrhELtDRoS2teEChsUgsZcRFsj0UsSAvcKVGtW55A_KhLUlaZ0W58fFdO5Uxj2bLeCZFP8EwakpFrwMq2m9V_3V7fWFsgcPoA4dny3X099LU0vXuqKqK3CR6u0mVbus_EIED9CkFCtcSI-iiKM52hF1b3NjvJA&style=default&tilematrixset=EPSG%3A3857&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fwebp&TileMatrix={z}&TileCol={x}&TileRow={y}",
        cssFilter: 'drop-shadow(0px 0px 5px rgba(180,252,255,0.27)) drop-shadow(0px 0px 10px rgba(69,175,179,0.27)) drop-shadow(0px 0px 15px rgba(74,152,114,0.32)) brightness(1.2)'
    }
    // {
    //     id: 'cia',
    //     urlTemplate: "http://t{s}.tianditu.gov.cn/cia_w/wmts?" +
    //         "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
    //         "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}" +
    //         "&tk=d26d5a61585000093f0d64032de7053a",
    //     subdomains: ['1', '2', '3', '4', '5'],
    //     cssFilter: 'brightness(75%)'
    // }
];
